package com.zhny.sensor.entity;

import javax.persistence.*;
import java.io.Serializable;
/**
 * 禽类品种信息实体类
 * @author zhy
 *
 */
@Entity
@Table(name="poultry_category")
public class PoultryCategory implements Serializable{

	@Id
	private String id;//

	private String number;//编号
	private String name;//品种名称
	private String originPlace;//来源地
	private String detail;//详细信息
	private String parentId;//父级类别
	private String slaughterHouseId;//屠宰场id
	private String stallId; //档口id
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间

	public String getStallId() {
		return stallId;
	}

	public void setStallId(String stallId) {
		this.stallId = stallId;
	}

	public String getOriginPlace() {
		return originPlace;
	}

	public void setOriginPlace(String originPlace) {
		this.originPlace = originPlace;
	}

	public String getSlaughterHouseId() {
		return slaughterHouseId;
	}

	public void setSlaughterHouseId(String slaughterHouseId) {
		this.slaughterHouseId = slaughterHouseId;
	}

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {		
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {		
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getParentId() {		
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "PoultryCategory{" +
				"id='" + id + '\'' +
				", number='" + number + '\'' +
				", name='" + name + '\'' +
				", originPlace='" + originPlace + '\'' +
				", detail='" + detail + '\'' +
				", parentId='" + parentId + '\'' +
				", slaughterHouseId='" + slaughterHouseId + '\'' +
				", createBy='" + createBy + '\'' +
				", createDate=" + createDate +
				'}';
	}
}
